CXX0X := /Users/yli/gcc46/bin/g++ -L/Users/yli/gcc46/lib -I/Users/yli/gcc46/include 
CXX := g++
CFLAGS := -Wall -O3 -m64 -pedantic -ftree-vectorize -mfpmath=sse -ffast-math -lntl -lgsl -lgslcblas -lm
DEBUG := -Wall -pedantic -O1 -m64 -lntl -lgsl -lgslcblas -lm

all: verbose 

silent: *.cpp *.h
	${CXX} ${CFLAGS} main.cpp decode.cpp encode.cpp channel.cpp -o run

verbose: *.cpp *.h
	${CXX} ${CFLAGS} -DVERBOSE main.cpp decode.cpp encode.cpp channel.cpp -o runv

debug: *.cpp *.h
	${CXX} ${CFLAGS} -DVERBOSE -DDEBUG main.cpp decode.cpp encode.cpp channel.cpp -o runv

clean: 
	rm run runv decoded > /dev/null 2>&1